<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
.wrap{width:500px;height:300px;background:#ff1;  }
.small{width:100px;height:100px; background:#C00; margin-left:20px;  margin-top:20px; float:left;}
</style>
</head>

<body>
<div class="wrap">

	<div class="small"></div>
</div>
</body>
</html>
